<template>
    <section class="welcome">
        <div class="box">
            <img src="../assets/img/logo_big.png">
            <h1>Welcome</h1>
            <div class="options">
                <mt-button type="primary" @click="$router.push({name:'login'})">登录</mt-button>
                <mt-button type="default" @click="$router.push({name:'register'})">注册</mt-button>
            </div>
        </div>
    </section>
</template>

<script>
export default {
    name: '',
    data() {
        return {}
    },
    methods: {},
    watch: {},
    mounted() { }
}
</script>

<style lang="less">
.welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  .box {
    text-align: center;
    img {
      margin-bottom: 20px;
    }
    h1 {
      font-size: 30px;
      text-align: center;
      font-weight: normal;
      margin-bottom: 60px;
    }
  }
  .options {
    width: 80vw;
    display: flex;
    justify-content: space-between;
    .mint-button {
      flex: 1;
    }
    .mint-button:first-child {
      margin-right: 10px;
    }
  }
}
</style>
